﻿package com.wxsoft.business.sys.service;

import java.util.List;

import com.wxsoft.business.model.easyui.PageHelper;
import com.wxsoft.business.sys.pojo.SysMenu;
import com.wxsoft.business.sys.pojo.SysUser;

public interface ISysUserService {
	
	public long findCount(SysUser sysUser);
	
	public List<SysUser> findAll(PageHelper page,SysUser sysUser);
	
	public String add(SysUser sysUser);
	
	public String modify(SysUser sysUser);
	
	public String delete(SysUser sysUser);
	public SysUser findUserByName(String username);
	/**
	 * 获取该用户权限的菜单
	 * @param userId
	 * @return
	 */
	public List<SysMenu> getMenu(String userId);
}
